import request from '@/utils/request'

/*
 * 获取用户信息
 * */
export function getUserInfo(data) {
  return request({ 
	  url: '/user/getUserInfo',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 猫币记录
 * */
export function getMoneyAccount(data) {
  return request({ 
	  url: '/user/getMoneyAccount',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 提现
 * */
export function withdraw(data) {
  return request({ 
	  url: '/user/withdraw',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 充值
 * */
export function Recharge(data) {
  return request({ 
	  url: '/user/Recharge',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}


/*
 * 充值成功处理
 * */
export function RechargeSuccess(data) {
  return request({ 
	  url: '/user/RechargeSuccess',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 充值成功处理
 * */
export function UploadBase64(data) {
  return request({ 
	  url: '/user/UploadBase64',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 修改密码
 * */
export function updateuserpas(data) {
  return request({ 
	  url: '/user/updateuserpas',
	  method: 'get', 
	  data:data, 
	  power: true ,
  })
}


/*
 * 微信授权
 * */
export function wechatAuth(data) {
  return request({ 
	  url: '/user/wechatAuth',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}
/*
 * 获取实名认证信息
 * */
export function getcard(data) {
  return request({ 
	  url: '/api/member/getcard',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 修改用户信息
 * */
export function editUser(data) {
  return request({ 
	  url: '/api/member/editBasic',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 修改登录密码
 * */
export function editUserPassword(data) {
  return request({ 
	  url: '/api/member/editPass',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 修改支付密码
 * */
export function editUserJyPassword(data) {
  return request({ 
	  url: '/api/member/editjypass',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 获取收款信息
 * */
export function getReceivablesInfo(data) {
  return request({ 
	  url: '/api/Receivables/getInfo',
	  method: 'get', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 添加、修改收款信息
 * */
export function saveAccount(data) {
  return request({ 
	  url: '/api/Receivables/saveReceivables',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 获取浏览记录
 * */
export function getView(data) {
  return request({ 
	  url: '/Delivery/getView',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 获取投递记录
 * */
export function getdelivery(data) {
  return request({ 
	  url: '/Delivery/getdelivery',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 邀请记录
 * */
export function getinvitation(data) {
  return request({ 
	  url: '/Delivery/getinvitation',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 投递简历信息
 * */
export function savedelivery(data) {
  return request({ 
	  url: '/Delivery/Ajax_delivery',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}

/*
 * 取消投递
 * */
export function quxiaodelivery(data) {
  return request({ 
	  url: '/Delivery/quxiao',
	  method: 'post', 
	  data:data, 
	  power: true ,
  })
}
/*
 * 邀请操作
 * */
export function handleInvitation(data) {
  return request({ 
	  url: '/Delivery/handleInvitation',
	  method: 'get', 
	  data:data, 
	  power: true ,
  })
}


